package com.example.bookKeep.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@TableName(value = "qiazi", autoResultMap = true)
public class QiaZi {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String title;

    @TableField(value = "`desc`")
    private String desc;

    private String blackUrl;

    private String whiteUrl;

    private String redUrl;

    private Date createTime;

    private String rules;

    private Integer sort;
}
